import request from '@/utils/request'

const api = {
  token: '/system/uptoken',
  mergeSimpleUpload: '/system/up',
}

export default api

export function getQNToken (parameter) {
  return request({
    url: api.token,
    method: 'get',
    params: parameter
  })
}

export function mergeSimpleUpload (parameter) {
  return request({
    url: api.mergeSimpleUpload,
    method: 'get',
    params: parameter
  })
}
